package com.ethink.warehouse.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ethink.framework.common.db.SuperEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 库存货权变更明细 数据库实体
 *
 * @author default
 * @date 2023-01-06
 */
@Data
@TableName("t_mate_inventory_sale_channel_change_log_detail")
public class MateInventorySaleChannelChangeLogDetail extends SuperEntity {

    public static final String ORDER_NO ="order_no";

    public static final String BEFORE_MATE_INVENTORY_ID ="before_mate_inventory_id";

    public static final String QTY ="qty";

    public static final String AFTER_SALE_SUB_CHANNEL ="after_sale_sub_channel";

    public static final String AFTER_MATE_INVENTORY_ID ="after_mate_inventory_id";


    /** 变更单号 */
    private String orderNo;

    /** 调整前批次库存ID */
    private Long beforeMateInventoryId;

    /** 变更数量 */
    private Integer qty;

    /** 渠道 */
    private String afterSaleSubChannel;

    /** 调整后批次库存ID */
    private Long afterMateInventoryId;

    /** 交易成本价 */
    private BigDecimal exceptCostPrice;

    /** 预计销售时间 */
    private Date exceptSaleTime;
}
